<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
  <table border="1">
       <tr>
           <th>员工姓名</th>
           <th>性别</th>
           <th>身份证号</th>
           <th>工作部门</th>
           <th>个人电话</th>
           <th>备注</th>
           <th>操作</th>
       </tr>
    <c:forEach items="${pageInfo.datas}" var="employee" >
       <tr>
           <td class="name">${employee.e_name}</td>
           <td class="sex">${employee.e_sex}</td>
           <td class="card_number">${employee.card_number}</td>
           <td class="d_name">${employee.departement.d_name}</td>
           <td class="tel">${employee.tel}</td>
           <td class="note">${employee.note}</td>
           <td><div onclick="detail(${employee.e_id})">详细情况</div></td>
       </tr>
       </c:forEach>
      </table>
      <div class="bottom">
       <button onclick="submit(0)">上一页</button>
        <div class="currentpage">${pageInfo==null?pageInfo.currentPage:1}</div>
       <button onclick="submit(1)">下一页</button>
       </div>
</body>
</html>